package cn.echoedu.model;

import java.sql.SQLException;
import java.util.List;
import cn.echoedu.daoconstants.TableName;
import cn.echoedu.entity.SchoolCalendar;
import cn.echoedu.entity.TelContacts;

public class ContactsListModel extends BaseModel{

	public List<TelContacts> queryContactsList(int schoolcode, String search_key) {
		
		List<TelContacts> ContactsList = null;
		try {
			ContactsList = getDAORead().getContactsList(getConnection(),
					TableName.TEL_CONTACTS_TABLE,schoolcode,search_key);
		} catch (SQLException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		return ContactsList;
	}

}
